#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2018/5/5 下午11:34
# @Author  : wanyongtao
# @Site    : 
# @File    : urls.py
# @Software: PyCharm

import os

from handlers.BaseHandler import StaticFileBaseHandler as StaticFileHandler
from handlers import Api

urls = [

    (r"/api/api", Api.ApiTemplateHandler),
    # (r"/api/index", Passport.LoginHandler),
    (r"/(.*)", StaticFileHandler,
     dict(path=os.path.join(os.path.dirname(__file__), "html"), default_filename="index.html"))
]